package cn.finder.consumer;

public class OrderInfo {

    final static String OrderType_Normal  = "normal";  // 普通撮合单
    final static String OrderType_Restoration ="restoration"; //返还单 撮合返还
    final static String OrderType_Cancel ="cancel"; //撤销 取消单，手动发送撤单命令

    private String buy_sell;
    private long maker_id;		// 挂单人 在队列
    private long taker_id; // 吃蛋 主动买卖的人
    private long amt;
    private double price; // 成交价
    private long matched_time;	// 交易时间
    private String symbol;
    private double maker_fee; //挂单手续费
    private double taker_fee; // 吃单手续费
    private String order_type; //订单类型。

    public String getBuy_sell() {
        return buy_sell;
    }

    public long getMaker_id() {
        return maker_id;
    }

    public long getTaker_id() {
        return taker_id;
    }

    public long getAmt() {
        return amt;
    }

    public double getPrice() {
        return price;
    }

    public long getMatched_time() {
        return matched_time;
    }

    public String getSymbol() {
        return symbol;
    }

    public double getMaker_fee() {
        return maker_fee;
    }

    public double getTaker_fee() {
        return taker_fee;
    }

    public String getOrder_type() {
        return order_type;
    }

    public void setBuy_sell(String buy_sell) {
        this.buy_sell = buy_sell;
    }

    public void setMaker_id(long maker_id) {
        this.maker_id = maker_id;
    }

    public void setTaker_id(long taker_id) {
        this.taker_id = taker_id;
    }

    public void setAmt(long amt) {
        this.amt = amt;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public void setMatched_time(long matched_time) {
        this.matched_time = matched_time;
    }

    public void setSymbol(String symbol) {
        this.symbol = symbol;
    }

    public void setMaker_fee(double maker_fee) {
        this.maker_fee = maker_fee;
    }

    public void setTaker_fee(double taker_fee) {
        this.taker_fee = taker_fee;
    }

    public void setOrder_type(String order_type) {
        this.order_type = order_type;
    }
}
